package com.xncoding.starter.service;
import com.xncoding.starter.inter.Reading01;
import com.xncoding.starter.properties.ReadingProperties01;
import lombok.AllArgsConstructor;
public class ReadingService01 implements Reading01 {

    // reading相关配置类
    private ReadingProperties01 readingConfig01;

    public ReadingService01(ReadingProperties01 readingConfig01) {
        this.readingConfig01 = readingConfig01;
    }

    @Override
    public void reading01() {
        System.out.println("start reading01... type is {}"+this.readingConfig01.getType());
    }

}